// BDbusCollection_BPA.cpp: implementation of the CBDbusCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Dat/BDbusCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CBDbusCollection_BPA::CBDbusCollection_BPA()
{

}

CBDbusCollection_BPA::~CBDbusCollection_BPA()
{

}

CBDbus_BPA* CBDbusCollection_BPA::GetBDbus(char *strBusName, double dkV)
{
	CBDbus_BPA tempBDbus;
	strcpy(tempBDbus.m_strName,strBusName);
	tempBDbus.m_dkV = dkV;
	return (CBDbus_BPA*)CCardCollection_BPA::GetCard(&tempBDbus);
   
}

CBDbus_BPA* CBDbusCollection_BPA::Traverse(CBDbus_BPA *pBDbus, int nDirection)
{
   return (CBDbus_BPA*)CCardCollection_BPA::Traverse(pBDbus,nDirection);
}

CBDbus_BPA* CBDbusCollection_BPA::GetFirstBDbus()
{
   return (CBDbus_BPA*)CCardCollection_BPA::GetFirstCard();
}
